﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo2
{
    class Subtraction:Calculate

    {
        public override void DisplayResult(int a, int b)
        {
            //base.DisplayResult(a, b);
            int result = a - b;
            Console.WriteLine("差为{0}",result);

        }
    }
}
